<%if @company %>
<table width="500" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td class="medgray"><strong><li type=circle>公司信息：</li></strong></td>
	</tr>
	<tr>
		<td bgcolor="#000099"></td>
	</tr>
	<tr>
		<td><%= render :partial=>"report/company_info"%></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="medgray" align="right">公司信息由&nbsp;<%=incumbentuser_tag(@company)%>&nbsp;创建于: <%=@company.created_time.to_date%></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="medgray"><strong><li type=circle>薪资信息：</li></strong></td>
	</tr>
	<tr>
		<td bgcolor="#000099"></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td><div class="medgray"><strong>&nbsp;&nbsp;&nbsp;该公司所有样本的过往的月均收入为&nbsp;&nbsp;<span class="biggray"><%=number_with_delimiter(@salary)%></span></strong></div></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="medgray" align="right">点击察看<%= link_to "详细报告", :controller=>"report", :action=>"viewreport", :id=>@company.coreport_id %></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="medgray"><strong><li type=circle>评论列表：</li></strong></td>
	</tr>
	<tr>
		<td bgcolor="#000099"></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td>
		<div id="commentList"><%= render_collection_of_partials "comment",@company.Comments%></div>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="medgray"><strong><li type=circle>发表评论：</li></strong></td>
	</tr>
	<tr>
		<td bgcolor="#000099"></td>
	</tr>
	<tr>
		<td height="3"></td>
	</tr><tr><td>
	<div id="mycomment"><%= render :partial=>"create_comment",:locals => {:object => @company}%></div></td></tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
</table>
<% else %>
  <table border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td><%=image_tag "/images/nil.gif",:alt=>"注意"%></td>
		<td class="medgray" valign="center"><strong>对不起，该公司资料不存在。</strong></td>
	</tr>
</table>
<% end %>
